package com.xu.tools.annotation;

import com.xu.tools.enums.SensitiveEnum;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author xuguan
 * @date 2023/3/12
 * @desc 自定义脱敏注解
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
public @interface Desensitization {

    SensitiveEnum type();
}
